import { flagStore } from "@/stores/counter";
import { onBeforeUnmount } from 'vue'
let flagInfo = flagStore();

export default function() {
    onBeforeUnmount(() => {
        flagInfo.changeFlag(true)
        console.log('666', flagInfo.flag);
    })
}